const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir)
}

module.exports = {
    outputDir: 'dist',
    assetsDir: "assets",
    indexPath: "index.html",
    filenameHashing: true,
    productionSourceMap: false,
    css: {
        extract: false,
        sourceMap: false
    },
    configureWebpack: {
        resolve: {
            // 指向src目录
            alias: {
                '@': resolve('src')
            }
        }
    },
}
